|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RoleSystem
This interface allows to act within the role system, without being registered.
| Method Summary | |
|---|---|
RoleRegistration |
reqRegistration(java.lang.String role)
Asks to system to be registered, requesting a specified role to be assigned. |
int[] |
searchForRole(java.lang.String role)
Asks to server to search for all registrations a specified role is assigned to. |
int[] |
searchForRole(java.lang.String role,
long timeout)
Asks to server to search for all registrations a specified role is assigned to. |
int[] |
searchForRoleNoWait(java.lang.String role)
Asks to server to search for all registrations a specified role is assigned to. |
| Method Detail |
|---|
RoleRegistration reqRegistration(java.lang.String role)
throws RoleException
role - Role to assign to registration.
RoleException
int[] searchForRole(java.lang.String role)
throws RoleException
role - Role that must be assigned to registrations.
RoleException
int[] searchForRole(java.lang.String role,
long timeout)
throws RoleException
role - Role that must be assigned to registrations.timeout - The maximum time to wait, in milliseconds; if it is
0, this method behaves like the one without timeout.
RoleException
int[] searchForRoleNoWait(java.lang.String role)
throws RoleException
role - Role that must be assigned to registrations.
RoleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||